define({ "api": [
  {
    "type": "post",
    "url": "/change_mobile",
    "title": "更换手机号",
    "group": "个人中心",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "check_code",
            "description": "<p>验证code</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n\"mobile\":\"17777777777\",\n\"check_code\":\"cf0c2d3db1985793083837f2d43af40c\",\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"更换成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "个人中心",
    "name": "PostChange_mobile",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/change_mobile"
      }
    ]
  },
  {
    "type": "post",
    "url": "/check_user",
    "title": "验证账号",
    "group": "个人中心",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n\"mobile\":\"17777777777\",\n\"password\":\"111111\",\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "check_code",
            "description": "<p>验证成功code值，更换手机号使用</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_data\": {\n\"check_code\": \"cf0c2d3db1985793083837f2d43af40c\"\n},\n\"result_code\": \"0000\",\n\"result_info\": \"验证成功\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "个人中心",
    "name": "PostCheck_user",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/check_user"
      }
    ]
  },
  {
    "type": "post",
    "url": "/destroy_user",
    "title": "注销账户",
    "group": "个人中心",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"注销成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "个人中心",
    "name": "PostDestroy_user",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/destroy_user"
      }
    ]
  },
  {
    "type": "post",
    "url": "/logout",
    "title": "退出登录",
    "group": "个人中心",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"退出成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "个人中心",
    "name": "PostLogout",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/logout"
      }
    ]
  },
  {
    "type": "post",
    "url": "/password",
    "title": "用户修改密码",
    "group": "个人中心",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "before_pass",
            "description": "<p>原密码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "new_password",
            "description": "<p>新密码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "again_password",
            "description": "<p>确认新密码</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n\"before_pass\":\"123456\",\n\"new_password\":\"111111\",\n\"again_password\":\"111111\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"修改成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "个人中心",
    "name": "PostPassword",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/password"
      }
    ]
  },
  {
    "type": "post",
    "url": "/save_member",
    "title": "基础资料修改",
    "group": "个人中心",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "avatar",
            "description": "<p><code>可选</code>头像</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "gender",
            "description": "<p>性别  1 男 2 女</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "birthday",
            "description": "<p>生日</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n\"avatar\":\"0\",\n\"gender\":\"1\",\n\"birthday\":\"2021-07-21\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"修改成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "个人中心",
    "name": "PostSave_member",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/save_member"
      }
    ]
  },
  {
    "type": "post",
    "url": "/user_info",
    "title": "用户个人信息",
    "group": "个人中心",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>会员信息</p>"
          }
        ],
        "data": [
          {
            "group": "data",
            "type": "string",
            "optional": false,
            "field": "user_id",
            "description": "<p>会员id</p>"
          },
          {
            "group": "data",
            "type": "string",
            "optional": false,
            "field": "avatar",
            "description": "<p>头像</p>"
          },
          {
            "group": "data",
            "type": "string",
            "optional": false,
            "field": "gender",
            "description": "<p>性别</p>"
          },
          {
            "group": "data",
            "type": "string",
            "optional": false,
            "field": "birthday",
            "description": "<p>生日</p>"
          },
          {
            "group": "data",
            "type": "string",
            "optional": false,
            "field": "facebook_status",
            "description": "<p>facebook绑定状态</p>"
          },
          {
            "group": "data",
            "type": "string",
            "optional": false,
            "field": "google_status",
            "description": "<p>google绑定状态</p>"
          },
          {
            "group": "data",
            "type": "string",
            "optional": false,
            "field": "password_status",
            "description": "<p>密码设置状态</p>"
          },
          {
            "group": "data",
            "type": "string",
            "optional": false,
            "field": "tel",
            "description": "<p>手机号</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_data\": {\n\"data\": {\n\"user_id\": 1,\n\"avatar\": \"0\",\n\"gender\": \"男\",\n\"birthday\": \"\",\n\"facebook_status\": 0,\n\"google_status\": 0,\n\"password_status\": 1,\n\"tel\": \"188****8888\"\n}\n},\n\"result_code\": \"0000\",\n\"result_info\": \"请求成功\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "个人中心",
    "name": "PostUser_info",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/user_info"
      }
    ]
  },
  {
    "type": "get",
    "url": "/avatar",
    "title": "用户图像库",
    "group": "公共接口",
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_data\": {\n\"list\": [\n\"ewfwf.efwfsdf.png\",\n\"ewfwf.efwfsdf.png\",\n\"ewfwf.efwfsdf.png\"\n]\n},\n\"result_code\": \"0000\",\n\"result_info\": \"请求成功\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "公共接口",
    "name": "GetAvatar",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/avatar"
      }
    ]
  },
  {
    "type": "get",
    "url": "/icon_list",
    "title": "记账类别图标库",
    "group": "公共接口",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Array",
            "optional": false,
            "field": "icon_list",
            "description": "<p>图标列表</p>"
          }
        ],
        "icon_list": [
          {
            "group": "icon_list",
            "type": "string",
            "optional": false,
            "field": "title",
            "description": "<p>图标分类名称</p>"
          },
          {
            "group": "icon_list",
            "type": "array",
            "optional": false,
            "field": "list",
            "description": "<p>图标</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_data\": {\n\"icon_list\": [\n{\n\"title\": \"娱乐\",\n\"list\": [\n\"a.png\",\n\"b.png\",\n\"c.png\"\n]\n},\n{\n\"title\": \"饮食\",\n\"list\": [\n\"d.png\",\n\"e.png\"\n]\n}\n]\n},\n\"result_code\": \"0000\",\n\"result_info\": \"请求成功\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "公共接口",
    "name": "GetIcon_list",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/icon_list"
      }
    ]
  },
  {
    "type": "post",
    "url": "/get_code",
    "title": "获取验证码",
    "group": "登录注册",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>验证码类型 2 修改密码 3 登录注册</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"mobile\":\"15554832010\",\n\"type\":\"3\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "msg",
            "description": "<p>验证码发送提示消息</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_data\": {\n\"msg\": \"验证码发送成功，有效期10分钟\"\n},\n\"result_code\": \"0000\",\n\"result_info\": \"发送成功\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "登录注册",
    "name": "PostGet_code",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/get_code"
      }
    ]
  },
  {
    "type": "post",
    "url": "/login_code",
    "title": "用户验证码登录",
    "group": "登录注册",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>验证码</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"mobile\":\"15554832010\",\n\"code\":\"577997\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户token</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_data\": {\n\"token\": \"iTYGI0eKnmYb8BmSIiRALpjrA5RLRxBmhsVEKraI4Ht0q8HUqOOiufZ02E8g6rX50JBje48KITafhBq/6bGTRzotlR3XDEsE86auzMuQ+fI=\"\n},\n\"result_code\": \"0000\",\n\"result_info\": \"登录成功\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "登录注册",
    "name": "PostLogin_code",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/login_code"
      }
    ]
  },
  {
    "type": "post",
    "url": "/login_pwd",
    "title": "用户密码登录",
    "group": "登录注册",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"mobile\":\"18888888888\",\n\"password\":\"123456\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户token</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_data\": {\n\"token\": \"iTYGI0eKnmYb8BmSIiRALpjrA5RLRxBmhsVEKraI4Ht0q8HUqOOiufZ02E8g6rX50JBje48KITafhBq/6bGTRzotlR3XDEsE86auzMuQ+fI=\"\n},\n\"result_code\": \"0000\",\n\"result_info\": \"登录成功\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "登录注册",
    "name": "PostLogin_pwd",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/login_pwd"
      }
    ]
  },
  {
    "type": "post",
    "url": "/modify_password",
    "title": "用户忘记密码",
    "group": "登录注册",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>验证码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "new_password",
            "description": "<p>新密码</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"mobile\":\"15554832010\",\n\"code\":\"577997\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"mobile\":\"18888888888\",\n\"code\":\"1235\",\n\"new_password\":\"123456\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "登录注册",
    "name": "PostModify_password",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/modify_password"
      }
    ]
  },
  {
    "type": "post",
    "url": "/add_bill",
    "title": "添加账目",
    "group": "记账",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "total",
            "description": "<p>金额</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "cate_type",
            "description": "<p>账目类型 1 支出 2 收入</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "cate_id",
            "description": "<p>分类id</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "add_time",
            "description": "<p>发生时间</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "remarks",
            "description": "<p>备注</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n\"cate_type\":\"1\",\n\"total\":\"100\",\n\"cate_id\":\"1\",\n\"add_time\":\"2021-07-07\",\n\"remarks\":\"就是玩\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"添加成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "记账",
    "name": "PostAdd_bill",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/add_bill"
      }
    ]
  },
  {
    "type": "post",
    "url": "/add_cate",
    "title": "添加类目",
    "group": "记账",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "cate_id",
            "description": "<p>类目id  系统分类传cate_id  自定义新增固定传0</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "cate_type",
            "description": "<p>类目类型  1 支出 2 收入</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "cate_name",
            "description": "<p>类目名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "cate_img",
            "description": "<p>类目图标</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n\"cate_id\":\"0\",\n\"cate_type\":\"2\",\n\"cate_name\":\"日化\",\n\"cate_img\":\"a.png\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"操作成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "记账",
    "name": "PostAdd_cate",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/add_cate"
      }
    ]
  },
  {
    "type": "post",
    "url": "/batch_add_bill",
    "title": "批量添加账目",
    "group": "记账",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": "<p>账目json串</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"ANhJ9GnaG82sGpEomqD/eGHF3LU6Bhb78QwEwNxHhQa7E/kyuWXl5yoNcPgz3T83TZjIhpja7+xPk1Jcn07dwrBGPIpNu8ai/7E4gNpi1iY=\",\n\"data\": [\n{\n\"cate_type\": \"2\",\n\"total\": \"100\",\n\"cate_id\": \"2\",\n\"add_time\": \"2021-07-07\",\n\"remarks\": \"就是玩\"\n}\n]\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"添加成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "记账",
    "name": "PostBatch_add_bill",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/batch_add_bill"
      }
    ]
  },
  {
    "type": "post",
    "url": "/cate_sort",
    "title": "类目排序",
    "group": "记账",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "cate_type",
            "description": "<p>类目类别 1 支出 2 收入</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "sort_data",
            "description": "<p>排序数据  {&quot;cate_id&quot;:&quot;类别id&quot;,&quot;sort_num&quot;:&quot;排序值&quot;}</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"ANhJ9GnaG82sGpEomqD/eGHF3LU6Bhb78QwEwNxHhQa7E/kyuWXl5yoNcPgz3T83TZjIhpja7+xPk1Jcn07dwrBGPIpNu8ai/7E4gNpi1iY=\",\n\"sort_data\": [{\"cate_id\":27,\"sort_num\":10},{\"cate_id\":28,\"sort_num\":55},{\"cate_id\":29,\"sort_num\":12},{\"cate_id\":30,\"sort_num\":20},{\"cate_id\":31,\"sort_num\":15}],\n\"cate_type\": 2\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"操作成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "记账",
    "name": "PostCate_sort",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/cate_sort"
      }
    ]
  },
  {
    "type": "post",
    "url": "/del_bill",
    "title": "删除账目",
    "group": "记账",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bill_id",
            "description": "<p>账目id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n\"bill_id\":\"1\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"删除成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "记账",
    "name": "PostDel_bill",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/del_bill"
      }
    ]
  },
  {
    "type": "post",
    "url": "/del_cate",
    "title": "删除类目",
    "group": "记账",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "cate_id",
            "description": "<p>类目id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n\"cate_id\":\"1\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"操作成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "记账",
    "name": "PostDel_cate",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/del_cate"
      }
    ]
  },
  {
    "type": "post",
    "url": "/edit_bill",
    "title": "编辑账目",
    "group": "记账",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bill_id",
            "description": "<p>账目id</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "total",
            "description": "<p>金额</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "add_time",
            "description": "<p>发生时间</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "remarks",
            "description": "<p>备注</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n\"bill_id\":\"1\",\n\"total\":\"100\",\n\"add_time\":\"2021-07-07\",\n\"remarks\":\"就是玩\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"添加成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "记账",
    "name": "PostEdit_bill",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/edit_bill"
      }
    ]
  },
  {
    "type": "post",
    "url": "/edit_cate",
    "title": "修改类目",
    "group": "记账",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "cate_id",
            "description": "<p>类目id</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "cate_name",
            "description": "<p>类目名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "cate_img",
            "description": "<p>类目图标</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n\"cate_id\":\"1\",\n\"cate_name\":\"日化\",\n\"cate_img\":\"a.png\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"操作成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "记账",
    "name": "PostEdit_cate",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/edit_cate"
      }
    ]
  },
  {
    "type": "post",
    "url": "/user_cate",
    "title": "收入支出类目",
    "group": "记账",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Array",
            "optional": false,
            "field": "cate_list",
            "description": "<p>分类列表</p>"
          },
          {
            "group": "Success 200",
            "type": "object",
            "optional": false,
            "field": "income_cate",
            "description": "<p>收入分类</p>"
          },
          {
            "group": "Success 200",
            "type": "object",
            "optional": false,
            "field": "outlay_cate",
            "description": "<p>收入分类</p>"
          }
        ],
        "income_cate": [
          {
            "group": "income_cate",
            "type": "array",
            "optional": false,
            "field": "use_cate",
            "description": "<p>可使用分类</p>"
          },
          {
            "group": "income_cate",
            "type": "array",
            "optional": false,
            "field": "nouse_cate",
            "description": "<p>未使用分类</p>"
          }
        ],
        "use_cate": [
          {
            "group": "use_cate",
            "type": "string",
            "optional": false,
            "field": "cate_name",
            "description": "<p>分类名称</p>"
          },
          {
            "group": "use_cate",
            "type": "string",
            "optional": false,
            "field": "img",
            "description": "<p>分类图片</p>"
          },
          {
            "group": "use_cate",
            "type": "number",
            "optional": false,
            "field": "cate_id",
            "description": "<p>分类id</p>"
          },
          {
            "group": "use_cate",
            "type": "number",
            "optional": false,
            "field": "sort_num",
            "description": "<p>排序值</p>"
          }
        ],
        "nouse_cate": [
          {
            "group": "nouse_cate",
            "type": "string",
            "optional": false,
            "field": "cate_name",
            "description": "<p>分类名称</p>"
          },
          {
            "group": "nouse_cate",
            "type": "string",
            "optional": false,
            "field": "img",
            "description": "<p>分类图片</p>"
          },
          {
            "group": "nouse_cate",
            "type": "number",
            "optional": false,
            "field": "cate_id",
            "description": "<p>分类id</p>"
          },
          {
            "group": "nouse_cate",
            "type": "number",
            "optional": false,
            "field": "sort_num",
            "description": "<p>排序值</p>"
          }
        ],
        "outlay_cate": [
          {
            "group": "outlay_cate",
            "type": "array",
            "optional": false,
            "field": "use_cate",
            "description": "<p>可使用分类</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_data\": {\n\"cate_list\": {\n\"income_cate\": {\n\"use_cate\": [\n{\n\"cate_name\": \"工资\",\n\"img\": \"27\",\n\"cate_id\": 27,\n\"sort_num\": 1\n},\n{\n\"cate_name\": \"兼职\",\n\"img\": \"28\",\n\"cate_id\": 28,\n\"sort_num\": 2\n}\n],\n\"nouse_cate\": []\n},\n\"outlay_cate\": {\n\"use_cate\": [\n{\n\"cate_name\": \"餐饮\",\n\"img\": \"1\",\n\"cate_id\": 1,\n\"sort_num\": 1\n},\n{\n\"cate_name\": \"购物\",\n\"img\": \"2\",\n\"cate_id\": 2,\n\"sort_num\": 2\n}\n],\n\"nouse_cate\": []\n}\n}\n},\n\"result_code\": \"0000\",\n\"result_info\": \"请求成功\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "记账",
    "name": "PostUser_cate",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/user_cate"
      }
    ]
  },
  {
    "type": "post",
    "url": "/add_budget",
    "title": "添加预算",
    "group": "账目查询",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "year",
            "description": "<p>年份</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": "<p>月份</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "money",
            "description": "<p>预算金额</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n\"year\":\"2021\",\n\"month\":\"7\",\n\"money\":\"5000.00\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"操作成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "账目查询",
    "name": "PostAdd_budget",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/add_budget"
      }
    ]
  },
  {
    "type": "post",
    "url": "/batch_add_budget",
    "title": "批量添加预算",
    "group": "账目查询",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": "<p>数据（json串）</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"ANhJ9GnaG82sGpEomqD/eGHF3LU6Bhb78QwEwNxHhQa7E/kyuWXl5yoNcPgz3T83TZjIhpja7+xPk1Jcn07dwrBGPIpNu8ai/7E4gNpi1iY=\",\n\"data\": [\n{\n\"year\": \"2021\",\n\"month\": \"7\",\n\"money\": \"2000\",\n}\n]\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_code\": \"0000\",\n\"result_info\": \"操作成功\",\n\"result_data\": []\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "账目查询",
    "name": "PostBatch_add_budget",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/batch_add_budget"
      }
    ]
  },
  {
    "type": "post",
    "url": "/month_log",
    "title": "获取指定年记录",
    "group": "账目查询",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "year",
            "description": "<p>查询年</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n\"year\":\"2021\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>年账单信息</p>"
          }
        ],
        "data": [
          {
            "group": "data",
            "type": "float",
            "optional": false,
            "field": "outlay",
            "description": "<p>当年支出总额</p>"
          },
          {
            "group": "data",
            "type": "float",
            "optional": false,
            "field": "income",
            "description": "<p>当年收入</p>"
          },
          {
            "group": "data",
            "type": "array",
            "optional": false,
            "field": "months_list",
            "description": "<p>月账单信息</p>"
          }
        ],
        "days_list": [
          {
            "group": "days_list",
            "type": "string",
            "optional": false,
            "field": "date",
            "description": "<p>月份</p>"
          },
          {
            "group": "days_list",
            "type": "float",
            "optional": false,
            "field": "outlay",
            "description": "<p>当月支出</p>"
          },
          {
            "group": "days_list",
            "type": "float",
            "optional": false,
            "field": "income",
            "description": "<p>当月收入</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_data\": {\n\"data\": {\n\"outlay\": 1040,\n\"income\": 0,\n\"month_list\": [\n{\n\"date\": \"2021/2\",\n\"outlay\": 0,\n\"income\": 0\n},\n{\n\"date\": \"2021/1\",\n\"outlay\": 0,\n\"income\": 0\n}\n]\n}\n},\n\"result_code\": \"0000\",\n\"result_info\": \"请求成功\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "账目查询",
    "name": "PostMonth_log",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/month_log"
      }
    ]
  },
  {
    "type": "post",
    "url": "/month_log",
    "title": "获取指定月份记录",
    "group": "账目查询",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": "<p>查询月份</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "year",
            "description": "<p>查询年</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n\"month\":\"1\",\n\"year\":\"2021\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "object",
            "optional": false,
            "field": "user_info",
            "description": "<p>用户信息</p>"
          },
          {
            "group": "Success 200",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>账单信息</p>"
          }
        ],
        "user_info": [
          {
            "group": "user_info",
            "type": "string",
            "optional": false,
            "field": "avatar",
            "description": "<p>头像</p>"
          },
          {
            "group": "user_info",
            "type": "string",
            "optional": false,
            "field": "tel",
            "description": "<p>手机号</p>"
          }
        ],
        "data": [
          {
            "group": "data",
            "type": "float",
            "optional": false,
            "field": "budget",
            "description": "<p>预算金额</p>"
          },
          {
            "group": "data",
            "type": "float",
            "optional": false,
            "field": "outlay",
            "description": "<p>当月支出总额</p>"
          },
          {
            "group": "data",
            "type": "float",
            "optional": false,
            "field": "income",
            "description": "<p>当月收入</p>"
          },
          {
            "group": "data",
            "type": "array",
            "optional": false,
            "field": "days_list",
            "description": "<p>每日账单信息</p>"
          }
        ],
        "days_list": [
          {
            "group": "days_list",
            "type": "string",
            "optional": false,
            "field": "date",
            "description": "<p>日期</p>"
          },
          {
            "group": "days_list",
            "type": "float",
            "optional": false,
            "field": "outlay",
            "description": "<p>当日支出</p>"
          },
          {
            "group": "days_list",
            "type": "float",
            "optional": false,
            "field": "income",
            "description": "<p>当日收入</p>"
          },
          {
            "group": "days_list",
            "type": "array",
            "optional": false,
            "field": "bill_list",
            "description": "<p>当日账单列表</p>"
          }
        ],
        "bill_list": [
          {
            "group": "bill_list",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>账单id</p>"
          },
          {
            "group": "bill_list",
            "type": "int",
            "optional": false,
            "field": "cate_id",
            "description": "<p>分类id</p>"
          },
          {
            "group": "bill_list",
            "type": "int",
            "optional": false,
            "field": "cate_type",
            "description": "<p>账单类型 1 收入 2 支出</p>"
          },
          {
            "group": "bill_list",
            "type": "string",
            "optional": false,
            "field": "cate_name",
            "description": "<p>分类名称</p>"
          },
          {
            "group": "bill_list",
            "type": "float",
            "optional": false,
            "field": "total",
            "description": "<p>变动金额</p>"
          },
          {
            "group": "bill_list",
            "type": "int",
            "optional": false,
            "field": "add_time",
            "description": "<p>账单时间（秒时间戳）</p>"
          },
          {
            "group": "bill_list",
            "type": "string",
            "optional": false,
            "field": "remarks",
            "description": "<p>备注信息</p>"
          },
          {
            "group": "bill_list",
            "type": "string",
            "optional": false,
            "field": "img",
            "description": "<p>图标</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_data\": {\n\"data\": {\n\"budget\": 0,\n\"outlay\": 1040,\n\"income\": 0,\n\"bill_list\": [\n{\n\"date\": \"2021/07/22\",\n\"outlay\": 540,\n\"income\": 0,\n\"bill_list\": [\n{\n\"id\": 2,\n\"cate_id\": 1,\n\"cate_type\": 2,\n\"cate_name\": \"餐厅\",\n\"total\": \"108.00\",\n\"add_time\": 1626883200,\n\"remarks\": \"进给发fefefefe\",\n\"img\": \"1\"\n}\n]\n},\n{\n\"date\": \"2021/07/7\",\n\"outlay\": 500,\n\"income\": 0,\n\"bill_list\": [\n{\n\"id\": 1,\n\"cate_id\": 1,\n\"cate_type\": 2,\n\"cate_name\": \"餐厅\",\n\"total\": \"100.00\",\n\"add_time\": 1625587200,\n\"remarks\": \"进给发\",\n\"img\": \"1\"\n}\n]\n}\n]\n},\n\"user_info\": {\n\"avatar\": \"0\",\n\"tel\": \"188****8888\"\n}\n},\n\"result_code\": \"0000\",\n\"result_info\": \"请求成功\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "账目查询",
    "name": "PostMonth_log",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/month_log"
      }
    ]
  },
  {
    "type": "post",
    "url": "/report_table",
    "title": "获取报表信息",
    "group": "账目查询",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户凭证</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "year",
            "description": "<p>查询年</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>1 支出 2 收入</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": "<p><code>可选</code>查询月</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "week",
            "description": "<p><code>可选</code>查询周</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "request-example",
          "content": "{\n\"token\": \"iTYGI0eKnmYb8BmSIiRALogJGXqtkoc6qKXqSxL3F51kjTMtjdbGPaPg+ZxujBLbXF5F0ZaZjEl6ZXyzNyXNtHcfsRF/UpSsPYO6ug/u2H4=\",\n\"type\":\"1\",\n\"year\":\"2021\",\n\"month\":\"7\",\n\"week\":\"25\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>年账单信息</p>"
          }
        ],
        "data": [
          {
            "group": "data",
            "type": "array",
            "optional": false,
            "field": "year_data",
            "description": "<p>当年信息</p>"
          },
          {
            "group": "data",
            "type": "array",
            "optional": false,
            "field": "week_data",
            "description": "<p>当周信息</p>"
          },
          {
            "group": "data",
            "type": "array",
            "optional": false,
            "field": "month_data",
            "description": "<p>月信息</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "success-example",
          "content": "{\n\"result_data\": {\n\"data\": {\n\"month_data\": {\n\"total_money\": 1040,\n\"detail\": [\n{\n\"img\": \"\",\n\"cate_name\": \"餐厅\",\n\"ratio\": \"61.54%\",\n\"cate_detail\": [\n0,\n0,\n0,\n0,\n0,\n0,\n100,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n540,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0\n]\n},\n{\n\"img\": \"\",\n\"cate_name\": \"蔬菜\",\n\"ratio\": \"38.46%\",\n\"cate_detail\": [\n0,\n0,\n0,\n0,\n0,\n0,\n400,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0,\n0\n]\n}\n]\n},\n\"year_data\": [],\n\"week_data\": []\n}\n},\n\"result_code\": \"0000\",\n\"result_info\": \"成功\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "app/api/route/common.php",
    "groupTitle": "账目查询",
    "name": "PostReport_table",
    "sampleRequest": [
      {
        "url": "http://wallet.emotiondiary.cn/api/report_table"
      }
    ]
  }
] });
